package entity;

public class Member {
	private int memberId;
	private String name;
	private String address;
	private String job;
	public Member(String name,String address,String job) {
		this.name = name;
		this.address = address;
		this.job = job;
	}
	public Member(){
		
	}
	public int getMemberId() {
		return memberId;
	}
	public Member getMemberById(int id){
		if(id == memberId){
			return this;
		} else {
			return null;
		}
	}
	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	
}
